
<!-- admin form input -->

<table class="adminform" cellpadding="10px">

<tr>
<td>Product Name</td>
<td><input type="text"" name="productName" size="70" value="<?php echo $this->escape($this->product['productName']);?>">
<br><?php echo $this->error($this->errorList["productName"]);?>
</td>

<td>Image:</td><td><input type="file" size="30" name="imageURL">
<br><?php echo $this->error($this->errorList["imageURL"]);?>
</td>
</tr>

<tr>
<td rowspan="2">Sumary</td>
<td rowspan="2"><textarea rows="5" cols="50" name="summary"><?php echo $this->escape($this->product["summary"]);?></textarea> 
<br><?php echo $this->error($this->errorList["summary"]);?>
</td>

<td>Publish</td>
<td><?php if( isset($this->product["status"]) && $this->product["status"] == 0){
?>
<input type="radio" name="status" value="0" checked="checked">No
<input type="radio" name="status" value="1" >Yes
<?php } 
else{?>
<input type="radio" name="status" value="0">No
<input type="radio" name="status" value="1" checked="checked">Yes
<?php } ?>
</td>
</tr>

<tr><td>Product Category</td>
<td>
<?php echo $this->formSelect('categoryId',$this->product['categoryId'],null,$this->categoryList);?>
<br><?php echo $this->error($this->errorList["categoryId"]);?>
</td></tr>

</table>
<script type="text/javascript">
initMCE("description");
</script>
<table class="adminform">
<tr><td>
<textarea id="description" name="description" rows="15" cols="80" style="width: 80%">
<?php echo $this->product["description"];?>
</textarea>
<br><?php echo $this->error($this->errorList["description"]);?>
</td></tr>
</table>

<!-- end admin form input -->

<input type="hidden" name="cmd" id="cmd">
<input type="hidden" name="productId" value="<?php echo $this->product['productId'];?>">
<input type="hidden" name="ordering" value="<?php echo $this->product['ordering'];?>">
